﻿using UnityEngine;
using System.Collections;

public class CheckPointScript : MonoBehaviour 
{

	
	void OnTriggerEnter2D(Collider2D col) 
	{
		if(col.tag =="Player")
			
		{
			GameMaster.spawnPoint = transform;
			
		}
		
		
		
		
	}
}
